package com.hj.collegetravel.models;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class CUpdate implements Serializable {
    private Integer uId;

    private String uVersion;

    private String uContent;

    private String uDownload;

    private String uLimit;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date uTime;

    private static final long serialVersionUID = 1L;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuVersion() {
        return uVersion;
    }

    public void setuVersion(String uVersion) {
        this.uVersion = uVersion == null ? null : uVersion.trim();
    }

    public String getuContent() {
        return uContent;
    }

    public void setuContent(String uContent) {
        this.uContent = uContent == null ? null : uContent.trim();
    }

    public String getuDownload() {
        return uDownload;
    }

    public void setuDownload(String uDownload) {
        this.uDownload = uDownload == null ? null : uDownload.trim();
    }

    public String getuLimit() {
        return uLimit;
    }

    public void setuLimit(String uLimit) {
        this.uLimit = uLimit == null ? null : uLimit.trim();
    }

    public Date getuTime() {
        return uTime;
    }

    public void setuTime(Date uTime) {
        this.uTime = uTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uId=").append(uId);
        sb.append(", uVersion=").append(uVersion);
        sb.append(", uContent=").append(uContent);
        sb.append(", uDownload=").append(uDownload);
        sb.append(", uLimit=").append(uLimit);
        sb.append(", uTime=").append(uTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}